@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@1,300&family=Lora:wght@400;500&display=swap');
*{
    padding: 0;
    margin: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
    font-family: 'Times New Roman', Times, serif;
}

/*===================================Nav Bar========================================*/
nav{
    background: #033257;
    height: 80px;
    width: 100%;
}

label.logo{
    color:white;
    font-size: 35px;
    line-height: 80px;
    padding: 0 100px;
    font-weight: bold;
}

nav ul{
    float: right;
    margin-right: 20px;
}

nav ul li{
    display: inline-block;
    line-height: 80px;
    margin: 0 5px;
}


nav ul li a{
    color: white;
    font-size: 17px;
    padding: 7px 13px;
    border-radius: 3px;
    text-transform: uppercase;

}
a.active,a:hover{
    background: #9883eb;
    transition: .5s;
}
.checkbtn{
    font-size: 30px;
    color: white;
    float: right;
    line-height: 80px;
    margin-right: 40px;
    cursor: pointer;
    display: none;
}

#check{
    display: none;
}

/*===================================QR-Code Genetor=======================================*/

.body{
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1b9bff;
    background-size: cover;
    min-height: 100vh;
}


.wrapper{
    height: 260px;
    background:#fff;
    max-width: 380px;
    justify-content: center;
    border-radius: 7px;
    padding: 16px 25px;
    margin-bottom: 100px;
    transition: height 0.2s ease;

}

.wrapper.active{
    height: 530px;
}


header h1{
    font-size: 21px;
    font-weight: 500;
}

header p{
    font-size: 16px;
    color: #474747;
    margin-top: 5px;
}

.wrapper .form{
    margin: 20px 0 25px;
}

.form:where(input,button){
    width: 100%;
    height: 55px;
    border:none;
    outline: none;
    border-radius: 5px;
}

.form input{
    width: 100%;
    height: 55px;
    border-radius: 5px;
    font-size: 18px;
    padding: 0 17px;
    border:1px solid #999;
}

.form button{
    color:#fff;
    cursor: pointer;
    margin-top: 20px;
    font-size: 17px;
    width: 100%;
    height: 55px;
    border-radius: 5px;
    background: #3498DB;
}

.wrapper .qr-code{
    display: flex;
    padding: 22px 0;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    border: 1px soild #ccc;
    opacity: 0;
    pointer-events: none;
}

  
.wrapper.active .qr-code{
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.5s 0.05s ease;
}


@media (max-width:952px) 
{
label.logo{
    font-size: 30px;
    padding-left: 50px;
}
nav ul li a{
    font-size: 16px;
}    
}


@media (max-width:858px) {
    .checkbtn{
        display: block;
    }
    ul{
        position: fixed;
        width: 100%;
        height: 100vh;
        background: #2c3e50;
        top:80px;
        left: -100%;
        text-align: center;
        transition: all .5s;
    }
    nav ul li{
        display: block;
        margin: 50px 0;
        line-height: 30px;
    }
    nav ul li a{
        font-size: 20px;
    }
    a:hover,a.active{
        background: none;
        color: #0082e6;
    }
    #check:checked ~ ul{
        left: 0;
    }   
}